package com.core.service.User;

import com.core.pojo.Result.PageResult;
import com.core.pojo.Result.Result;
import com.core.pojo.SeatReservation.entity.Reservation;
import com.core.pojo.User.dto.UserInfoDTO;
import com.core.pojo.User.dto.UserLoginReqDTO;
import com.core.pojo.User.entity.User;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


public interface UserLoginService {

    Result<String> loginAuthenticate(UserLoginReqDTO userLoginReqDTO);

    public User queryUserById(Long id);

    void refreshUserTokenTtl(Long id);

    Result<User> register(User user);

    Result userAuthenticate(User user);

    void logout(String accessToken);

}
